package app

import (
	"xrt/components/http"
	. "xrt/core"
)

type Default RouteSync
type login RouteSync

func (d *Default) Get(x *http.XHttp) {
	x.WriteString("Welcome to XRT GET.")
}

func (l *login) Get(x *http.XHttp) {
	x.WriteString("hahahahaa.")
}

func init() {
	X.RegisterRoutesSync(login{})
}
